package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 预警信息对象 em_warning
 *
 * @author yangcan
 * @date 2023-03-07
 */
@Data
public class EmWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)

    /** $column.columnComment */
    private Long id;

    private Long recordId;

    /** 预警标题 */
    @Excel(name = "预警标题")
    private String title;

    /** 预警内容 */
    @Excel(name = "预警内容")
    private String context;

    /** 伤亡情况 */
    @Excel(name = "伤亡情况")
    private String casualties;

    private String handleMethod ;

    /** 损失情况 */
    @Excel(name = "损失情况")
    private String wastage;

    private Integer hurt ;

    private Integer death ;

    /** 处理预警处理情况 */
    @Excel(name = "处理预警处理情况")
    private String treatment;

    /** 是否处理  0 - 未处理   1  处理中   2 处理完成 */
    @Excel(name = "是否处理  0 - 未处理   1  处理中   2 处理完成")
    private Long isHandle;

    @TableField(exist = false)
    private String isHandleDescribe ;

    /** 灾害类别id */
    private Long emTypeId;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String emName;

    /** 灾害类别 */
    @Excel(name = "灾害类别")
    private String emType;

    @TableField(exist = false)
    private Long userId ;

    private String image ;
}
